/*
 *
 *  * | Licensed 未经许可不能去掉「OPENIITA」相关版权
 *  * +----------------------------------------------------------------------
 *  * | Author: xw2sy@163.com
 *  * +----------------------------------------------------------------------
 *
 *  Copyright [2024] [OPENIITA]
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 * /
 */

package cc.iotkit.system.dto.bo;

import cc.iotkit.common.api.BaseDto;
import cc.iotkit.common.constant.UserConstants;
import cc.iotkit.common.validate.EditGroup;
import cc.iotkit.model.system.SysOrder;
import cc.iotkit.model.system.SysUser;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 用户信息业务对象 sys_user
 *
 * @author Michelle.Chung
 */

@Data
@NoArgsConstructor

@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysOrder.class, reverseConvertGenerate = false)
public class SysOrderBo extends BaseDto {

    private Long id;

    private Long userId;

    private String nickname;

    private String orderNo;

    private String deviceNo;

    private Date startTime;
    private Long startStationId;
    private String startStationName;
    private String startCabinetNo;
    private Date endTime;
    private Long endStationId;
    private String endStationName;
    private String endCabinetNo;
    private Integer duration;
    private String feeRule;
    private Long feeRuleId;
    private BigDecimal totalAmount;
    private BigDecimal deductAmount;
    private BigDecimal realAmount;
    private Date payTime;
    private String transactionId;
    private String status;
    private String delFlag;
    private String remark;

}
